<template>
  <div class="box">
    <div class="and">
      <img src="../../assets/img/weiyi.jpg" alt="" />
      <span>看了此商品的人还买了</span>
    </div>
    <div class="goods">
      <div class="info">
        <img src="../../assets/img/kuzi.jpg" alt="" />
        <p>拼色半拉链式防水棉衣</p>
        <div class="price">
          <div class="pricel">
            <b>￥279</b>
            <span>￥779</span>
          </div>
          <div class="pricer"><van-icon name="cart" />+</div>
        </div>
      </div>
      <div class="info">
        <img src="../../assets/img/kuzi.jpg" alt="" />
        <p>拼色半拉链式防水棉衣</p>
        <div class="price">
          <div class="pricel">
            <b>￥279</b>
            <span>￥779</span>
          </div>
          <div class="pricer"><van-icon name="cart" />+</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
};
</script>
<style scoped>
.and {
  height: 60px;
  display: flex;
  margin-bottom: 15px;
  align-items: center;
}
.and img {
  width: 46px;
  height: 100%;
  margin: 0 18px;
}
.goods {
  display: flex;
  justify-content: space-evenly;
}
.info {
  width: 162px;
  height: 283px;
}
.info img {
  width: 100%;
  margin-bottom: 15px;
  height: 214px;
}
.info p {
  font-size: 10px;
  margin-bottom: 8px;
}
b {
  font-size: 12px;
  color: red;
}
.price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pricel span {
  font-size: 12px;
  color: gray;
  text-decoration: line-through;
}
.pricer {
  width: 32px;
  height: 20px;
  line-height: 25px;
  text-align: center;
  background-color: gray;
  border-radius: 30px;
}
</style>